package com.wn32.main.demo12;

import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.Reader;

public class Main {
    public static void main(String[] args) throws FileNotFoundException {
        Son son = new Son(new Father());
        son.m1();
        //利用了装饰者设计模式
        Reader reader = new FileReader("");
        BufferedReader bufferedReader = new BufferedReader(reader);
    }
}

